home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / QuickDraw3D 1.6 SDK / Mac Interfaces / PInterfaces / QD3DCustomElements.p < prev    next >
Encoding:
Text File  |  1999-05-18  |  3.2 KB  |  110 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        QD3DCustomElements.p
  3.  
  4.      Contains:    Custom QuickTime Elements in QuickDraw 3D                            
  5.  
  6.      Version:    Technology:    Quickdraw 3D 1.6
  7.                  Release:    QuickTime 4.0
  8.  
  9.      Copyright:    © 1995-1999 by Apple Computer, Inc., all rights reserved.
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. }
  17. {$IFC UNDEFINED UsingIncludes}
  18. {$SETC UsingIncludes := 0}
  19. {$ENDC}
  20.  
  21. {$IFC NOT UsingIncludes}
  22.  UNIT QD3DCustomElements;
  23.  INTERFACE
  24. {$ENDC}
  25.  
  26. {$IFC UNDEFINED __QD3DCUSTOMELEMENTS__}
  27. {$SETC __QD3DCUSTOMELEMENTS__ := 1}
  28.  
  29. {$I+}
  30. {$SETC QD3DCustomElementsIncludes := UsingIncludes}
  31. {$SETC UsingIncludes := 1}
  32.  
  33. {$IFC UNDEFINED __QD3D__}
  34. {$I QD3D.p}
  35. {$ENDC}
  36. {$IFC UNDEFINED __MOVIES__}
  37. {$I Movies.p}
  38. {$ENDC}
  39.  
  40.  
  41. {$PUSH}
  42. {$ALIGN POWER}
  43. {$LibExport+}
  44.  
  45.  
  46. {*****************************************************************************
  47.  **                                                                             **
  48.  **                        Custom Name Element Functions                         **
  49.  **                                                                             **
  50.  ****************************************************************************}
  51. FUNCTION CENameElement_SetData(object: TQ3Object; name: ConstCStringPtr): TQ3Status; C;
  52. FUNCTION CENameElement_GetData(object: TQ3Object; name: CStringPtrPtr): TQ3Status; C;
  53. FUNCTION CENameElement_EmptyData(name: CStringPtrPtr): TQ3Status; C;
  54.  
  55. {*****************************************************************************
  56.  **                                                                             **
  57.  **                            URL Data Structure Definitions                     **
  58.  **                                                                             **
  59.  ****************************************************************************}
  60.  
  61. TYPE
  62.     TCEUrlOptions                 = SInt32;
  63. CONST
  64.     kCEUrlOptionNone            = 0;
  65.     kCEUrlOptionUseMap            = 1;
  66.  
  67.  
  68. TYPE
  69.     TCEUrlDataPtr = ^TCEUrlData;
  70.     TCEUrlData = RECORD
  71.         url:                    CStringPtr;
  72.         description:            CStringPtr;
  73.         options:                TCEUrlOptions;
  74.     END;
  75.  
  76. {*****************************************************************************
  77.  **                                                                             **
  78.  **                        Custom URL Element Functions                         **
  79.  **                                                                             **
  80.  ****************************************************************************}
  81. FUNCTION CEUrlElement_SetData(object: TQ3Object; VAR urlData: TCEUrlData): TQ3Status; C;
  82. FUNCTION CEUrlElement_GetData(object: TQ3Object; VAR urlData: TCEUrlDataPtr): TQ3Status; C;
  83. FUNCTION CEUrlElement_EmptyData(VAR urlData: TCEUrlDataPtr): TQ3Status; C;
  84. {*****************************************************************************
  85.  **                                                                             **
  86.  **                            Wire Data Definitions                             **
  87.  **                                                                             **
  88.  ****************************************************************************}
  89.  
  90. {*****************************************************************************
  91.  **                                                                             **
  92.  **                        Wire Custom Element Functions                         **
  93.  **                                                                             **
  94.  ****************************************************************************}
  95. FUNCTION CEWireElement_SetData(object: TQ3Object; wireData: QTAtomContainer): TQ3Status; C;
  96. FUNCTION CEWireElement_GetData(object: TQ3Object; VAR wireData: QTAtomContainer): TQ3Status; C;
  97. FUNCTION CEWireElement_EmptyData(VAR wireData: QTAtomContainer): TQ3Status; C;
  98.  
  99.  
  100. {$ALIGN RESET}
  101. {$POP}
  102.  
  103. {$SETC UsingIncludes := QD3DCustomElementsIncludes}
  104.  
  105. {$ENDC} {__QD3DCUSTOMELEMENTS__}
  106.  
  107. {$IFC NOT UsingIncludes}
  108.  END.
  109. {$ENDC}
  110.